package cn.edu.hqu.experiment2.DAO;

import cn.edu.hqu.experiment2.Entities.Order;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderMapper {

    // 插入订单
    void insertOrder(Order order);

    // 更新订单
    void updateOrder(Order order);

    // 根据ID查询订单
    Order getOrderById(int id);
}
